package com.smh.a02test;

public class TaiDiDog extends Dog{
    public TaiDiDog() {
    }

    public TaiDiDog(String name, int age) {
        super(name, age);
    }

    @Override
    public void eat() {
        System.out.println("一只叫做"+getName()+"的"+getAge()+"的泰迪,正在吃骨头,蹭");

    }
}
